/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa036is.daointerface;

import cz.muni.fi.pa036is.entity.Admission;
import java.util.List;

/**
 *
 * @author Kuba
 */
public interface AdmissionDAO {

    public void addAdmission(Admission admission);

    public void editAdmission(Admission admission);

    public void deleteAdmission(Admission admission);

    public List<Admission> findAdmissionsForPerson(Long personId);
    
    public List<Admission> findAdmissionsForSeason(Long seasonId);

    public List<Admission> getAllAdmissions();

    public Admission findAdmission(Long personId, Long seasonId);
}
